package io.sdl.service;

import io.sdl.common.service.BaseService;
import io.sdl.dto.SdlDiariesDTO;
import io.sdl.entity.SdlDiariesEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 矫形日记表
 *
 * @author Dchen
 * @email 1211734836@qq.com
 * @date 2025-04-25 14:09:19
 */
public interface SdlDiariesService extends BaseService<SdlDiariesEntity> {

    List<SdlDiariesDTO> selectByUserId(Long userId,Long roleId, Integer page, Integer limit);

    int getNum(Long userId);

    Integer saveUploadedFile(MultipartFile file,Long id);


    SdlDiariesEntity getDiariesDetail(Long id);
}

